package com.itheima.HomeWork;
import java.util.ArrayList;
import java.util.Random;

public class homework01 {
    public static void main(String[] args) {
        Random ra = new Random();
        ArrayList<Integer> ints = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            int ints1 = ra.nextInt(100, 200);
            ints.add(ints1);
        }
        System.out.println(ints);
        ints.remove(8);
        ints.remove(6);
        ints.remove(2);
        System.out.println(ints);
        for (Integer num : ints) {
            System.out.println(num);
        }
    }
}
